<template>
	<view>
		<!-- 橙色部分 -->
		<view class="situation">
			<view class="tips">{{content}}！</view>
		</view>
		<button class="btn" @click="confirm">确定</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '提交成功'
			}
		},
		onLoad(e) {
			if(e.content){
				this.content = e.content;
			}
		},
		methods: {
			confirm: function(){
				uni.navigateBack({
					delta: 2
				})
			}
		}
	}
</script>

<style>
	page{
		background-color: #F3F5F7;
	}
	.situation {
		background-color: #FD973F;
		width: 100%;
		height: 320rpx;
		border-radius: 0 0 50% 50%;
		display: flex;
		align-items: center;
		text-align: center;
	}
	.tips{
		color: #fff;
		font-size: 40rpx;
		width: 100%;
	}
	.btn{
		width: 200rpx;
		background-color: #FD973F;
		color: #fff;
		border-radius: 24rpx;
		margin-top: 80rpx;
	}
</style>
